package gdut.bsx.share2;

import android.graphics.drawable.Drawable;

public class AppInfo {

    private String versionName;
    private String appName;
    private String packageName;
    private String componentPackageName;
    private String componentClassName;
    private int versionCode;
    private int sort;
    private Drawable appIcon;


    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getComponentPackageName() {
        return componentPackageName;
    }

    public void setComponentPackageName(String componentPackageName) {
        this.componentPackageName = componentPackageName;
        this.packageName = componentPackageName;
    }

    public String getComponentClassName() {
        return componentClassName;
    }

    public void setComponentClassName(String componentClassName) {
        this.componentClassName = componentClassName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppName() {
        return appName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
        this.componentPackageName = packageName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setVersionCode(int versionCode) {
        this.versionCode = versionCode;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public void setAppIcon(Drawable appIcon) {
        this.appIcon = appIcon;
    }

    public Drawable getAppIcon() {
        return appIcon;
    }

    @Override
    public String toString() {
        return "AppInfo{" +
                //                "versionName='" + versionName + '\'' +
                //                ", appName='" +
                appName +
                ", "
                +
                packageName
                +
                ","
                +
                componentClassName +
                //                ", componentPackageName='" + componentPackageName + '\'' +
                //                ", versionCode=" + versionCode +
                //                ", appIcon=" + appIcon +
                '}';
    }
}
